package com.zxl.controller;
import com.zxl.support.BusinessAnnotation;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;


@RestController
@RequestMapping("/Test")
public class TestController {
    @Resource
    private BusinessAnnotation businessAnnotation;

    @GetMapping("/{type}")
    public String test(@PathVariable String type) {
        return businessAnnotation.getXml(type);
    }
}
